<template>
  <div>
    账户信息
    <van-button color="rgb(216,88,74)" block @click='quit'>退出登录</van-button>
  </div>
</template>

<script>
  export default {
    name: 'info',
    methods: {
      quit(){
        this.$router.push('/my');
        sessionStorage.removeItem('user');
      }
    },
    created() {
      this.$store.commit("changeTitle", "账户信息");
    },
  }
</script>